package com.tuling.designpattern.flyweight;

/**
 * @author 林瑞涛
 * @desc 具体网站类
 * @date 2021年07月31日 14:10
 */
public class ConcreteWebSite extends WebSite{

    private String name = "";

    public ConcreteWebSite(String name) {
        this.name = name;
    }

    @Override
    public void use() {
        System.out.println("网站分类：" + name);
    }
}
